package com.itita.ww2.handler.requesthandler.pay;

import com.smartfoxserver.v2.annotations.MultiHandler;
import com.itita.ww2.core.AbstractClientRequestHandler;

@MultiHandler
public class PayHandler extends AbstractClientRequestHandler {
	public static final String COMMAND_PREFIX = "pay"; // 前缀

	@Override
	protected void init() {
		addClientRequestItem("get_order", CreateOrder.class); // 获取订单信息
		addClientRequestItem("google", GooglePay.class); // 谷歌支付验证
		// addClientRequestItem("apple", ApplePay.class); // 苹果支付验证
	}

	@Override
	protected void setCommandPrefix() {
		super.cmd_prefix = COMMAND_PREFIX;
	}

}
